package com.wxw.gulidemo.client;

import com.wxw.gulidemo.vo.UcenterMemberVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author by xxz
 * @date 2022/6/20
 */
@Component
@FeignClient(name = "service-ucenter")
public interface ServiceUcenterClient {

    @GetMapping("/serviceUcenter/ucenter-member/getMemberInfoById/{memberId}")
    UcenterMemberVo getMemberInfoById(@PathVariable("memberId") String memberId);
}
